.class public Lcom/tencent/connect/a/a;
.super Ljava/lang/Object;


# direct methods
.method public static varargs a(Landroid/content/Context;Lcom/tencent/connect/b/u;Ljava/lang/String;[Ljava/lang/String;)V
    .locals 0

    invoke-static {p0, p1}, Lcom/tencent/connect/a/a;->b(Landroid/content/Context;Lcom/tencent/connect/b/u;)V

    invoke-static {p0, p2, p3}, Lcom/tencent/stat/h;->a(Landroid/content/Context;Ljava/lang/String;[Ljava/lang/String;)V

    return-void
.end method

.method public static a(Landroid/content/Context;Lcom/tencent/connect/b/u;)Z
    .locals 2

    invoke-virtual {p1}, Lcom/tencent/connect/b/u;->b()Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0}, Lcom/tencent/open/d/o;->a(Landroid/content/Context;Ljava/lang/String;)Lcom/tencent/open/d/o;

    move-result-object v0

    const-string v1, "Common_ta_enable"

    invoke-virtual {v0, v1}, Lcom/tencent/open/d/o;->c(Ljava/lang/String;)Z

    move-result v0

    return v0
.end method

.method public static b(Landroid/content/Context;Lcom/tencent/connect/b/u;)V
    .locals 1

    invoke-static {p0, p1}, Lcom/tencent/connect/a/a;->a(Landroid/content/Context;Lcom/tencent/connect/b/u;)Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    invoke-static {v0}, Lcom/tencent/stat/d;->a(Z)V

    :goto_0
    return-void

    :cond_0
    const/4 v0, 0x0

    invoke-static {v0}, Lcom/tencent/stat/d;->a(Z)V

    goto :goto_0
.end method

.method public static c(Landroid/content/Context;Lcom/tencent/connect/b/u;)V
    .locals 3

    invoke-static {p0, p1}, Lcom/tencent/connect/a/a;->b(Landroid/content/Context;Lcom/tencent/connect/b/u;)V

    invoke-virtual {p1}, Lcom/tencent/connect/b/u;->b()Ljava/lang/String;

    move-result-object v0

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "Aqc"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    const/4 v1, 0x0

    invoke-static {v1}, Lcom/tencent/stat/d;->c(Z)V

    const/4 v1, 0x1

    invoke-static {v1}, Lcom/tencent/stat/d;->b(Z)V

    const/16 v1, 0x5a0

    invoke-static {v1}, Lcom/tencent/stat/d;->a(I)V

    sget-object v1, Lcom/tencent/stat/g;->f:Lcom/tencent/stat/g;

    invoke-static {v1}, Lcom/tencent/stat/d;->a(Lcom/tencent/stat/g;)V

    const-string v1, "http://cgi.connect.qq.com/qqconnectutil/sdk"

    invoke-static {v1}, Lcom/tencent/stat/d;->b(Ljava/lang/String;)V

    const-string v1, "1.6.2"

    invoke-static {p0, v0, v1}, Lcom/tencent/stat/h;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Z

    return-void
.end method

.method public static d(Landroid/content/Context;Lcom/tencent/connect/b/u;)V
    .locals 1

    invoke-static {p0, p1}, Lcom/tencent/connect/a/a;->b(Landroid/content/Context;Lcom/tencent/connect/b/u;)V

    invoke-virtual {p1}, Lcom/tencent/connect/b/u;->d()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_0

    invoke-virtual {p1}, Lcom/tencent/connect/b/u;->d()Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0}, Lcom/tencent/stat/h;->c(Landroid/content/Context;Ljava/lang/String;)V

    :cond_0
    return-void
.end method
